#!/bin/sh
cd "${0%/*}" || exit                                # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions        # Tutorial run functions
#------------------------------------------------------------------------------

echo "Linking processor*/ directory"
for proc in $(\ls -d ../steadyState/processor*)
do
    [ -d "$proc" ] && ln -sf "$proc" .
done

runParallel pimpleFoam

#------------------------------------------------------------------------------
